package com.kdd.campus.sh.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "admin_user",value = "admin_user")
@Table(name="admin_user")
@Data
@Builder
public class Admin_user implements Serializable {
    @ApiModelProperty(value = "userId",required = true)
    @Id
    @Column(name = "id")
    private Long id;


    @ApiModelProperty(value = "userName",required = true)
    @Column(name = "username")
    private String username;


    @ApiModelProperty(value = "password",required = true)
    @Column(name = "password")
    private String password;


    @ApiModelProperty(value = "头像",required = false)
    @Column(name = "head_portrait")
    private String head_portrait;


    @ApiModelProperty(value = "",required = false)
    @Column(name = "created")
    private Date created;


    @ApiModelProperty(value = "",required = false)
    @Column(name = "modified")
    private Date modified;
}
